package com.ruoyi.userManagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 xuan_user
 * 
 * @author ruoyi
 * @date 2024-11-04
 */
public class XuanUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户Id */
    private Long usrId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String usrAccount;

    /** 用户名 */
    @Excel(name = "用户名")
    private String usrName;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String usrFullName;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private String usrSex;

    /** 用户出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用户出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usrBirthdate;

    /** 用户电话号码 */
    @Excel(name = "用户电话号码")
    private String usrPhone;

    /** 用户密码 */
    private String usrPassword;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String usrEmail;

    /** 用户所属角色Id */
    @Excel(name = "用户所属角色Id")
    private Long usrRoleId;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String usrImage;

    /** 用户状态 */
    @Excel(name = "用户状态")
    private String usrStatus;

    /** 用户注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用户注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usrDateRegistration;

    public void setUsrId(Long usrId) 
    {
        this.usrId = usrId;
    }

    public Long getUsrId() 
    {
        return usrId;
    }
    public void setUsrAccount(String usrAccount) 
    {
        this.usrAccount = usrAccount;
    }

    public String getUsrAccount() 
    {
        return usrAccount;
    }
    public void setUsrName(String usrName) 
    {
        this.usrName = usrName;
    }

    public String getUsrName() 
    {
        return usrName;
    }
    public void setUsrFullName(String usrFullName) 
    {
        this.usrFullName = usrFullName;
    }

    public String getUsrFullName() 
    {
        return usrFullName;
    }
    public void setUsrSex(String usrSex) 
    {
        this.usrSex = usrSex;
    }

    public String getUsrSex() 
    {
        return usrSex;
    }
    public void setUsrBirthdate(Date usrBirthdate) 
    {
        this.usrBirthdate = usrBirthdate;
    }

    public Date getUsrBirthdate() 
    {
        return usrBirthdate;
    }
    public void setUsrPhone(String usrPhone) 
    {
        this.usrPhone = usrPhone;
    }

    public String getUsrPhone() 
    {
        return usrPhone;
    }
    public void setUsrPassword(String usrPassword) 
    {
        this.usrPassword = usrPassword;
    }

    public String getUsrPassword() 
    {
        return usrPassword;
    }
    public void setUsrEmail(String usrEmail) 
    {
        this.usrEmail = usrEmail;
    }

    public String getUsrEmail() 
    {
        return usrEmail;
    }
    public void setUsrRoleId(Long usrRoleId) 
    {
        this.usrRoleId = usrRoleId;
    }

    public Long getUsrRoleId() 
    {
        return usrRoleId;
    }
    public void setUsrImage(String usrImage) 
    {
        this.usrImage = usrImage;
    }

    public String getUsrImage() 
    {
        return usrImage;
    }
    public void setUsrStatus(String usrStatus) 
    {
        this.usrStatus = usrStatus;
    }

    public String getUsrStatus() 
    {
        return usrStatus;
    }
    public void setUsrDateRegistration(Date usrDateRegistration) 
    {
        this.usrDateRegistration = usrDateRegistration;
    }

    public Date getUsrDateRegistration() 
    {
        return usrDateRegistration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("usrId", getUsrId())
            .append("usrAccount", getUsrAccount())
            .append("usrName", getUsrName())
            .append("usrFullName", getUsrFullName())
            .append("usrSex", getUsrSex())
            .append("usrBirthdate", getUsrBirthdate())
            .append("usrPhone", getUsrPhone())
            .append("usrPassword", getUsrPassword())
            .append("usrEmail", getUsrEmail())
            .append("usrRoleId", getUsrRoleId())
            .append("usrImage", getUsrImage())
            .append("usrStatus", getUsrStatus())
            .append("usrDateRegistration", getUsrDateRegistration())
            .toString();
    }
}
